package Thread;

class MyThread extends Thread{
    @Override
    public void run() {
        System.out.println("hello");
    }
}
public class Test1 {
    public static void main(String[] args) {
    Thread thread = new MyThread();
    thread.start();
    }
}
